package com.aia.prm.web;

import java.util.List;

import org.apache.log4j.Logger;

import com.aia.prm.domain.VOLms;
import com.aia.prm.domain.VOPext;
import com.aia.prm.domain.VOPlan;
import com.aia.prm.service.DefaultService;
import com.cfh.util.Tools;
import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class ResultAction extends ActionSupport {
	private static final Logger logger = Logger.getLogger(ResultAction.class);
	private String guid;
	private DefaultService defaultService;
	private VOLms vOLms;
	private VOPlan vOPlan;
	private VOPlan vOplan;
	private VOPext vOpext;
	private String dmFlag;
	
	private List<ExtValue> extValues;
	public List<ExtValue> getExtValues() {
		return extValues;
	}

	public void setExtValues(List<ExtValue> extValues) {
		this.extValues = extValues;
	}

	private List<VOPext> hetongList;

	public String execute() {
		if (logger.isDebugEnabled()) {
			logger.debug("execute() - start"); //$NON-NLS-1$
		}
		defaultService.getResult(this);
		return Tools.smartReturn(this);
	}

	public DefaultService getDefaultService() {
		return defaultService;
	}

	public void setDefaultService(DefaultService defaultService) {
		this.defaultService = defaultService;
	}

	public VOLms getvOLms() {
		return vOLms;
	}

	public void setvOLms(VOLms vOLms) {
		this.vOLms = vOLms;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public VOPlan getvOPlan() {
		return vOPlan;
	}

	public void setvOPlan(VOPlan vOPlan) {
		this.vOPlan = vOPlan;
	}

	public VOPext getvOpext() {
		return vOpext;
	}

	public void setvOpext(VOPext vOpext) {
		this.vOpext = vOpext;
	}

	public List<VOPext> getHetongList() {
		return hetongList;
	}

	public void setHetongList(List<VOPext> hetongList) {
		this.hetongList = hetongList;
	}

	public VOPlan getvOplan() {
		return vOplan;
	}

	public void setvOplan(VOPlan vOplan) {
		this.vOplan = vOplan;
	}

	public String getDmFlag() {
		return dmFlag;
	}

	public void setDmFlag(String dmFlag) {
		this.dmFlag = dmFlag;
	}

}
